package cn.edu.dgut.css.lemon.springbootautoconfigexp02;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * @author Lemon
 * @data 2020-10-25 14:37
 */

@ConfigurationProperties(prefix = "lemon.auto")
public class CustomProperties {

    /**
     * 自动配置是否生效
     */

    private boolean enable;

    public boolean isEnable() {
        return enable;
    }

    public void setEnable(boolean enable) {
        this.enable = enable;
    }
}
